]> dgit.raspbian.org Git - gnome-shell.git/commit
Adding StLabel a11y support
authorAlejandro Piñeiro <apinheiro@igalia.com>
Thu, 20 Jan 2011 12:02:14 +0000 (13:02 +0100)
committerAlejandro Piñeiro <apinheiro@igalia.com>
Thu, 20 Jan 2011 12:02:14 +0000 (13:02 +0100)
commit450291b8562cf074c0bad22b821d003e562ec2e6
tree113c1a34a624a8e764e8d29a9ccb70a37a2a8b7e
parent125adb4d3215b29bbeea84cecbf1842f0423d063
Adding StLabel a11y support

Right now is just redefine atk_object_get_name.

If someone wonders why not implement AtkText interface, or expose the
internal ClutterText, here a extract from AtkText doc:

"AtkText should be implemented by AtkObjects on behalf of widgets that
have text content which is either attributed or otherwise
non-trivial. AtkObjects whose text content is simple, unattributed,
and very brief may expose that content via atk_object_get_name
instead;"

StLabel is attributed, but is still simple and brief. In the same way
the atk_object_get_name redefinition is required, so this patch is the
first step. We can implement AtkText in the future.

https://bugzilla.gnome.org/show_bug.cgi?id=626658
src/st/st-label.c